package com.fc.control;

import java.util.*;
import java.sql.SQLException;
import java.text.*;
import com.fc.db.DBConnect;
import com.fc.model.*;
public class DateControl {
	//获取当前日期
	public String Date(){
		SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 
		Date currentTime = new Date();
		String str_date1 = formatter.format(currentTime); 
		String str_date2 = str_date1.toString();
		return str_date2;
	}
	
}
